// fixme for debugging
console.info('router.js is loading.');

const routers = [{
    path: '/',
    name: 'root',
    meta: {
        title: ''
    },
    component: (resolve) => require(['./views/index.vue'], resolve)
},{
    path: '/console',
    name: 'console',
    meta: {
        title: '*#8080#..'
    },
    component: resolve => require(['./views/console/console.vue'], resolve)
},{
    // 404 should be at last.
    path: '*',
    name: '404',
    meta: {
        title: 'Let\'s moon walk!',
    },
    component: resolve => require(['./views/404.vue'], resolve)
}];
export default routers;